package com.grapes.model;

import java.util.List;

public class Comment {
	public static final int LASTEST_ACTIVITY_TYPE_CREATE=1;
	public static final int LASTEST_ACTIVITY_TYPE_REPLIED=2;
	private Student publisher;
	private String publishTimeStamp;
	private String content;
	private String commentId;
	private List<Reply> attchedReplies;
	private int latestActivityType;
	
	public int getLatestActivityType() {
		return latestActivityType;
	}

	public void setLatestActivityType(int latestActivityType) {
		this.latestActivityType = latestActivityType;
	}

	public Student getPublisher() {
		return publisher;
	}

	public void setPublisher(Student publisher) {
		this.publisher = publisher;
	}

	public String getPublishTimeStamp() {
		return publishTimeStamp;
	}

	public void setPublishTimeStamp(String publishTimeStamp) {
		this.publishTimeStamp = publishTimeStamp;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getCommentId() {
		return commentId;
	}

	public void setCommentId(String commentId) {
		this.commentId = commentId;
	}

	public List<Reply> getAttchedReplies() {
		return attchedReplies;
	}

	public void setAttchedReplies(List<Reply> attchedReplies) {
		this.attchedReplies = attchedReplies;
	}
}
